package calc;
import javax.swing.*;
public class bagi{
	public void proses(){
		double hasil;
		System.out.println("Pembagian");
		double bilangan1=Double.valueOf(JOptionPane.showInputDialog(null, "Masukan Bilangan ke-1","Pembagian", 1));
		double bilangan2=Double.valueOf(JOptionPane.showInputDialog(null, "Masukan Bilangan ke-2","Pembagian", 1));
		hasil =bilangan1/bilangan2;
		System.out.println("=> Hasil : "+bilangan1+" / "+bilangan2+" = "+hasil);
	}
}